projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8b19d
)
GtkDialog: Fix up docs
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 26 Apr 2015 15:54:02 +0000
(11:54 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 26 Apr 2015 19:03:48 +0000
(15:03 -0400)
The ui fragment in the example was causing a critical
warning, which is not nice. Fix it to work properly.
gtk/gtkdialog.c
patch
|
blob
|
history
diff --git
a/gtk/gtkdialog.c
b/gtk/gtkdialog.c
index b02c6048c1caaf37b6a3d9c75e9111f2645df5fc..21e900494420b2ffc96dc0866ebf28510c5344ca 100644
(file)
--- a/
gtk/gtkdialog.c
+++ b/
gtk/gtkdialog.c
@@
-160,7
+160,9
@@
* <object class="GtkButton" id="button_cancel"/>
* </child>
* <child type="action">
- * <object class="GtkButton" id="button_ok"/>
+ * <object class="GtkButton" id="button_ok">
+ * <property name="can-default">True</property>
+ * </object>
* </child>
* <action-widgets>
* <action-widget response="cancel">button_cancel</action-widget>